﻿using System.Collections.Generic;

namespace In.Api.Dto.HisWs
{
    public class GetTimeRegInfoResponse
    {
        /// <summary>
        ///     处理结果代码： 0-成功
        /// </summary>
        public string ResultCode { get; set; }

        /// <summary>
        ///     处理结果描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        ///     排班分时列表
        /// </summary>
        public List<TimeRegInfo> TimeRegList { get; set; }

        public class TimeRegInfo
        {
            /// <summary>
            ///     分时开始时间，格式：HH:mm
            /// </summary>
            public string StartTime { get; set; }
            /// <summary>
            ///  排班对应号源唯一编码
            /// </summary>
            public string SourceCode { get; set; }

            /// <summary>
            ///     分时结束时间，格式：HH:mm
            /// </summary>
            public string EndTime { get; set; }

            /// <summary>
            ///     可预约号源数
            /// </summary>
            public string TotalCount { get; set; }

            /// <summary>
            ///     剩余号源数
            /// </summary>
            public string LeaveCount { get; set; }

            /// <summary>
            ///     分时序号
            /// </summary>
            public string SqNo { get; set; }
        }
    }
}